﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Future.FormBase
{
    public partial class frmModuleBase : frmBase,IModuleBase
    {
        public frmModuleBase()
        {
            InitializeComponent();
        }

        #region IModuleBase 成员
        /// <summary>
        /// 模块编号
        /// </summary>
        /// <returns></returns>
        public virtual ModuleID GetModuleID()
        {
            return ModuleID.None;
        }
        /// <summary>
        /// 模块信息
        /// </summary>
        /// <returns></returns>
        public virtual ModuleInfo GetModuleInfo()
        {
            return null;
        }
        /// <summary>
        /// 模块的主菜单
        /// </summary>
        /// <returns></returns>
        public virtual MenuStrip GetModuleMenu()
        {
            return null;
        }
        /// <summary>
        /// 模块主窗体容器
        /// </summary>
        /// <returns></returns>
        public Control GetContainer()
        {
            return this.pnlContainer;
        }
        /// <summary>
        /// 初始化按钮
        /// </summary>
        public virtual void InitButton()
        {

        }
        /// <summary>
        /// 初始化菜单
        /// </summary>
        public virtual void InitMenu()
        {

        }

        #endregion
    }
}
